package com.bw.service;

import com.bw.mapper.GmallMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * @Author: Shi san
 * @Date: 2025/7/4 16:35
 * @Description:
 **/
@Service
public class GmallServiceImpl implements GmallService {
    @Autowired
    GmallMapper gmallMapper;

    @Override
    public Double sumTotal(String nowDate) {
        return gmallMapper.sumTotal(nowDate);
    }

    @Override
    public List<Map> total(String newDate) {
        return gmallMapper.total(newDate);
    }

    @Override
    public List<Map> basetotal(String newDate) {
        return gmallMapper.basetotal(newDate);
    }

    @Override
    public List<Map> bingtotal(String newDate) {
        return gmallMapper.bingtotal(newDate);
    }

    @Override
    public List<Map> zhutotal(String newDate) {
        return gmallMapper.zhutotal(newDate);
    }

    @Override
    public List<Map> luntotal(String newDate) {
        return gmallMapper.luntotal(newDate);
    }
}
